package com.example.javabasic.thread.classone.demo2;

/**
 * 一个对象  多个线程
 */
public class Test {
    public static void main(String[] args) {
        final RunnableTest test = new RunnableTest();
        Thread t1 = new Thread(test,"thread1");
        Thread t2 = new Thread(test,"thread2");
        Thread t3 = new Thread(test,"thread3");

        t1.start();
        t2.start();
        t3.start();
    }
}
